package com.xhh.model.adjust.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("faulty")
public class Faulty implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 单位id
     */
    @TableField("unity_id")
    private Long unityId;

    /**
     * 院系名称
     */
    @TableField("faulty_name")
    private String faultyName;

    /**
     * 院系代码
     */
    @TableField("faulty_code")
    private String faultyCode;

    /**
     * 发布时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Date updateTime;

}
